package com.rcadmin.busi.logview.dao;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.rcadmin.busi.logview.ddl.ProjectDO;
import com.rcadmin.core.jpa.BaseDao;

/**
 * 项目DAO
 * 
 * @author tanson lam
 * @create 2016年9月6日
 */
@Component
public class ProjectDao {
	@Resource
	private BaseDao baseDao;

	public ProjectDO findById(Integer projectId) {
		return baseDao.findOne(projectId, ProjectDO.class);
	}
}
